//
//  ShoppingCartCell.h
//  YunJi_mianfeigou
//
//  Created by Dailu on 2017/3/30.
//  Copyright © 2017年 Dailu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CartModel.h"
@protocol ShoppingCartCellDelegate <NSObject>
-(void)changeNumber:(UIButton *)sender andCell:(UITableViewCell *)cell;
-(void)selectedAction:(UIButton *)sender andCell:(UITableViewCell *)cell;
@end


@interface ShoppingCartCell : UITableViewCell
@property(nonatomic,strong)UIButton *select;
@property(nonatomic,strong)UIImageView *goodsImage;
@property(nonatomic,strong)UILabel *name;
@property(nonatomic,strong)UILabel *specification;
@property(nonatomic,strong)UILabel *price;
@property(nonatomic,strong)UILabel *market_price;
@property(nonatomic,strong)UILabel *number;
@property(nonatomic,strong)UILabel *line;
@property(nonatomic,strong)CartDetailModel *model;
@property(nonatomic,weak)id<ShoppingCartCellDelegate> delegate;
+ (instancetype)theShareCellWithTableView:(UITableView *)tableView;
@end
